Opens a dialog box displaying the question and an area to type the answer. Answer reports what was typed in the dialog box. If you write a very long question, only the part that fits will be displayed. See answer.
To reposition and resize the default alert box, use the set command. The position is in screen coordinates; [0 0] is the top, left corner. The minimum size of the alert box is [150 100]. The default position is [68 230] and the default size is [354 132]. Remember if these variables are changed, you should have a startup procedure to reset them each time you load the project. See get and set.
Example:
question [How old are you?]
Type the answer in the dialog box. In the Command Center, type:
show answer
I’m 10 Your answer.
This procedure can be used to verify that the user has actually answered a question dialog box: